collapse/expand all child nodes, fix #9