Adding twirling functionality to TOC sections