Fixed scrolling problem leading to weird animation on iOS 7.