Tabs: Fixed mishandling of click and keyboard events, particularly handling of the escape key and how clicks and keyboard events affect the playing status of the carousel