Use a ViewPager for the tabs of the main activity.