From http://snipplr.com/view/61294/smooth-scrolling-for-internal-links/