Close pane when traversing between different files
Add settings for automatically managing filetree
Add e2e test for auto collapse setting
Fix unit test for file tree collapse setting