Update AppScroll.js

_endScroll fails, if cache.scroller is undefined or null