fix #959
Merge pull request #965 from chrox/collapsible_toc

fix #959