add onScroll event and scroll delegate method