add horizontal scroll event listener