Adds the capability to configure and subscribe to a scrollEnd event.