Rotation for iOS < 6.0