Switching branch or tag should respect current path or file
Created by: asavartsov
When browsing some location or file in code tree, changing branch or tag redirects to the tree root instead of previous file or folder.
So, switching branch or tag should redirect to previously browsed file or folder in the new branch/tag if it has present.