Set overflow as auto on table of contents.
Fix formatting on #696.

Closes #696.