Switches to tab when user hits enter