Use a custom fragment to hold the viewpager and its adapter