Moving the click event to the link (instead of the li).