Added switching between tabs