fix TOC toggle getting wrapped in some browsers
Merge pull request #1082 from haarg/fix-toc-wrap

fix TOC toggle getting wrapped in some browsers