Dynamic TOC highlighting