Changed activity_main root element to viewPager