fix main page document.height to window.height