Added collapseAll and ExpandAll methods as well as a demo for this functionality