Fix for scrolling issue when using vertical split