Fixed bugged scrolling behavior.