Fix section scrolling overlap

Fix section thumbnail overlapping the right-hand-side scroll icon.

Also make the table of contents container take up the full width of main
page container element.

Closes #465