hiding the keyboard after text input