use offsettop even when finding a named anchor tag on the page.
Merge pull request #5 from wadtech/offsettop

Use offsettop even when finding a named anchor tag on the page.