A simple TOC (table of contents) generator for Loft's sidenav