refactor responsive navbar