Corrected scrolling bug

Corrected a scrolling bug