[library] Add support for OnScrollListener in TwoWayView
[sample] Update to use OnScrollListener