Element not found error appears after scrolling in iOS application

Problem Statement:
I am unable to click on the button after scrolling in iOS application. After scrolling button is visible on the application but i am getting element not found exception when click on the button. (Button xpath is correct i have check multiple times)

Here is the code i am using for scrolling & click the button.

log.info(“Scroll to button”);

public void scrollToDown_ChangePackage() {
startY = (int) (size.height * 0.80);
endY = (int) (size.height * 0.20);
startX = (size.width / 2);
new TouchAction(driver).press(PointOption.point(startX, startY))
.moveTo(PointOption.point(startX, endY))

This button appears after scrolling.