Implemented Automatic scrolling.