change the scroll event