make the overlay relative