toc1 and toc indent fixes

* "totop" button generator fix
* brought back toc1
* work with indents for toc levels