center the overlay and adjust width/height/shadow