Refactor toc item creatin.
Refactors toc nav creation.
Adds jump link to toc.