apply DynamicPagerAdapter