Implemented autoscroll.