ios5 compatibility ~> setMinimumScaleFactor in if statement