Remove stale onScroll event registration.