resize the top button