Only check to dismiss keyboard if the gesture recognizer event is just beginning.  Since we were also using the table's pan recognizer, this check was being performed constantly while the user scrolled.