Almost fixed scrolling bug.