hover and click events on li's now being handled properly