scroll to and from footnotes

I was frustrated by the footnotes jumping around the page, and sometimes not being able to find what I was looking for.

Very quickly wrote some JS to use scrolling instead and added some placeholder indicator for highlighting the target.