Fixed scrolling bugs.