added "ExpandAllFolds" function