Implemented the parallax on the ViewPager subclass.