Changed navigation system, made it work in chromium + firefox