Added adjustment for iOS 7 contentOffsets.