resize main tab