Added onScroll callback.