dismiss keyboard on pan