Added ViewPager to the mainActivity.