added class nav-links to li
made anonymous functions on hover event. Fetching nav links via class names