add a event listner to click on item list