(Finally) fixed autoscroll.