When active tab is removed, select the previous tab (if any).