Fix for iOS 7

Added iOS 7 condition to prevent 20 pixel offset when showing and dismissing the view.
Merge pull request #19 from alexasfb/patch-1

Fix for iOS 7