added mapping for switching between tabs