Minimal fix for viewPager