toc nav button refactor