Performing flick with TouchAction

Hello, I am trying to interact with my UI using Appium, I am using Java to write my tests, I am able to swipe using TouchAction but there is no parameter for the speed hence no way to flick through lets say a ViewPager in Android. I was wondering if there is any other way to do this, any help will be appreciated.

Thanks

Here is my pom.xml dependencies.

<dependencies>
        <dependency>
            <groupId>org.seleniumhq.selenium</groupId>
            <artifactId>selenium-java</artifactId>
            <version>3.4.0</version>
        </dependency>
        <dependency>
            <groupId>org.testng</groupId>
            <artifactId>testng</artifactId>
            <version>6.11</version>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>io.appium</groupId>
            <artifactId>java-client</artifactId>
            <version>4.1.2</version>
            <scope>test</scope>
        </dependency>
    </dependencies>