Fixed isPanning variable names

Oops. The variable name was the same as from a different method. Obviously copy and pasted wrong.
Added better support for `keyboardFrameInView`

The `keyboardFrameInView` was not reliably returning the correct result, because it wasn't taking into account the willShow, didShow situations, just the panning frame.