Scroll to title/section when loading the page

Sets 'scrollTop' if we're jumping to a title or section that isn't
visible.