Add a DynamicFragmentPager to avoid same logic in different FragmentPagers.