Activate tab navigation only if focus is on tabs

If the focus is on tabs, you can use arrow/end/home to navigate between tabs, if the focus is in the tab content (tabpanel), these events shoud not be activated (can cause troubles, for exemple, use arrows in a select will change the tab).

Thanks to @goetsu https://twitter.com/goetsu/status/517265812743524352