Fix for iOS 7

Fixed issues with the toast not positioning correctly on device
rotation under iOS 7