Fix for issue 49: determining the document's height (cross-browser)
Fixed scroll-to-top bug for links at the bottom of the page
Merge branch 'pr/53'