Change to page height estimate

Change from a hard coded value of scroll distance (600) to an estimate of the page's height leaving out a few (4-5) lines.