consistency in hiding the keyboard