Added canScrollVertically, canScrollHorizontally to behave properly in ViewPager