fixed scrolling bugs for smaller screens