dropdown nav component refactor