Improves the selection of the tabs