When expanding an folder, maintain subfolders' collapsed state