Refine header style add TOC switch