refactored navbar to support responsive design