Fixes Nav, to make it work for sub navigation