Changed `onMoving` to be a callback by default (simpler code, little performance hit) See also #294