refactors sidebar nav