bug fix - html body height proved unreliable on production, changed it to document height