Add a table of contents and a nav element