Hi,
Dimension size = driver.manage().windows.getSize();
int startX = size.getWidth() /2;
int startY = size.getHeight() /2;
int endX = 0;
int endY = startY * 0.910;
TouchAction action = new TouchAction(driver);
action.press(startX, startY).moveTo(endX, endY).release().perform();