change the size of the overlay