change tab width based on tab count