autoscroll when adding/removing pages