Bugfix: Repair navigation highlighter

We've refactored the navigation highlighter to fix several small glitches.

https://github.com/owncloud/web/pull/7210
https://github.com/owncloud/web/pull/7270
https://github.com/owncloud/web/pull/7324
