ToC link collapsed class

From #2602.