Fixed heading links

Fixed headings to link to their respective section rather than the top.