Creating the autoscroll