dismiss keyboard when switching tabs