add selected tab to brower url

This should solve issue #21.

I used the same mechanic as redmine itself does it.