Fix title
Change document.height to document.body.clientHeight