Started base code from Google ViewPager tutorial