wiring up toc navigation