Refine display of table of contents