Corrected scrolling bug