Adjusts tabs