Practice working with ViewPager transformers by updating the depth transformer to switch the direction of the depth animation, and then see a solution.
This is a companion discussion topic for the original entry at https://www.raywenderlich.com/3355-android-animations/lessons/18