Make tabs size dependent on their amount.