how to implement table of contents for long form content