How to perform Horizontal Scroll in iOS Mobile App?

I am trying to automate iOS mobile app. I am using appium 1.6.2 , Java Client -1.6.0

I performed vertical scrolling using the below snippet:-1:

RemoteWebElement parent = (RemoteWebElement)driver.findElement(By.className(“XCUIElementTypeTable”));
String parentID = parent.getId();
HashMap<String, String> scrollObject = new HashMap<String, String>();
scrollObject.put(“element”, parentID);
scrollObject.put(“name”, “659600”);
driver.executeScript(“mobile:scroll”, scrollObject);

Now , i want to perform horizontal scroll and once when a particular element is visible, i want to tap the selected element.
Can anyone help me out ?