change didScroll to didScrollBlock