fix iOS8 orientation bug

wirk fine on 7 and 8 iOS