change to use new scroll events