Move tabbed toc heading into default template

Fixes #1185