transition to a state associating with a tab when it is selected