rename toggleExpanded() to toggleNodeExpanded()