Fixed view bounds for iOS 8

Fixed view bounds for rotating screen bounds under iOS 8.
Merge pull request #61 from ersjoh/fix-ios8

Fixed view bounds for iOS 8