Patch Memory Leak Related to Scroller

I was experiencing a memory leak and tracked it down to this event listener. I am not sure if there is a better way to handle this but it fixed the memory leak for me.