Show/hide tabs depending on the selected menu