jasmine.Popup horizontalSwitch with horizontalAlign = rightedge switches to rightedge when overlapping right window border considering margin (from jasmine.specs)