Add ToggleCollapse command.