Fixed bug where the text from the Expand All and Collapse All buttons was pulled into the table of contents