fixes null exception in nativeScroller