Closes #98; Hash ids are associated with the top of their content

Not only does this make navigating via hash work better, it makes the listener for hash ids detect section changes at more appropriate times.