jasmine.PopupWithHead horizontalSwitch does not switch but trim if left side is smaller (from jasmine.specs)