Script that fires events only when the scrolling direction changes.