Implementing expand/collapse of nodes.