refactor navigation css and classes