reduced the size of the overlay