made it so the overlay shows and hides