Use document scroll height instead of offset height to support body with absolute height