I'm not sure what triggers the collapsing, but I'm constantly having to re-expand folders/views after switching over to edit something else, and it's a major time waster.