code: private void updateShapeOffset() {
      int offsetX = scroller.getOffsetX();
      int offsetY = scroller.getOffsetY();
      shape.setOffset(offsetX, offsetY);
    }
docs: Checks the X and Y scroll offset to update that values into the Shape configured previously.