Add scrollspy and smooth scroll to topics page

This adds a slightly modified version of Scrollspy from bootstrap to add
scroll tracking to the topics nav. Smooth scrolling on click is
implemented as well.