Deprecated getOnScrollListener. Now there are OnScrollListener getters specific to every type of attachment.