move document.body into Overlay function