Only set the folder view's path when opening the view from the sidebar
Reason for the change
Fix a bug I introduced in e3a2ec6a.
Test plan
- Open folder view
- Open click a folder
- Previously the child view would use the initial view path
- Now the child view uses the correct child path