Enables keyboard panning in iOS7 and iOS8