add event listener to slider item