Add tab switching functionality.