This commit prevents the combination of extra whitespace below the TOC and scrollbars to the TOC.
Smart table of contents will highlight and expand current section Fix #1