add section support

Enable the TOC to be sectioned. Combines well with the hb helpers