run onScroll() within triggerScrollEvent()