Fix section headers links, anchor and contents table