refactoring mousenter event on nav