TOC/nav bar improvements

This pull request does the following:

- Fixes the bug where the TOC "jumped" on scroll
- Improves the persistent nav bar JS
- Improves the TOC animation and removes animation from the body text