Prevent scrolling and fix transitions on iOS.