Fixed anchor target accuracy

Allows for smooth animation scrolling to anchors near bottom of browser
window (calculates y - offset before comparing to position of document
bottom)