MODE-2260: Fixes navigation using path's segments

This PR fixes broken navigation using path's segments. 
The issues with forward/backward buttons seems a bit more complex and I was not able to solve it from swoop. It needs html history listener which will react on URL changes and modify content and URL again.