Make loader and viewPager