Defines a function to be called when user performs a scrolling action.
Returns: the event handler that is called when user performs a scrolling action
Diagram: Node