jasmine.PopupWithHead horizontalSwitch with horizontalAlign = leftedge switches to rightedge when overlapping left window border (from jasmine.specs)