Fixed autoscroll behavior on iOS