add the scroll event