Xcode 6 beta 7

Two minor code changes to comply with Xcode 6 beta 7
Fix for rotation issues on iPad on iOS 8

Fixed the toast switching to the top of the screen (depending on
orientation) when you rotate an iPad
Fix for iOS 7

Fixed issues with the toast not positioning correctly on device
rotation under iOS 7
Merge pull request #10 from FahimF/develop

Fix rotation issues on iPad and iOS7 devices.