fix #1789: remove call to invalidate in onScroll callback

fix #1789: remove call to invalidate in onScroll callback