Fix for vertical scrolling