separated tab click handlers