Fixed iOS 7 keyboard animation curve issue

The animation curve (UIViewAnimationCurve) used for the iOS 7 keyboard has no representation in UIViewAnimationOptions. This leads to the keyboard beeing animated in a different style than the views in the addKeyboardPanningWithActionHandler-block. Just shifting bits instead of doing a switch solves the problem.