void () { myAccumulateViewportChanges = false; if (myAccumulatedXOffset >= 0 && myAccumulatedYOffset >= 0) { scroll(myAccumulatedXOffset, myAccumulatedYOffset); myAccumulatedXOffset = myAccumulatedYOffset = -1; cancelAnimatedScrolling(true); } }