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