fix autoscroll hopefully for the last time