Fix left positioning scrollbar is on left

Fixes left positioning when pane is removed and scrollbar was positioned on the left of content