Some improvements of autoscroll