fixed some of the scrolling issues