added top padding to fragment URIs

When you click an internal anchor (i.e. select a fragment URI), the heading is obscured by the fixed top nav. This change corrects that by adding 40 px of space to the top of the div with the selected ID attribute. I haven't done much testing, but this seems to work without undesired side effects.