add onViewScrolled option for scroller