registering an elem.$on $destroy event to remove the scroll listener