Adds getter for OnScrollListener.