Set offscreen page limit to 3.
Changed to FragmentStatePagerAdapter.
Removed some old code.
Implemented new refresh method in PagerAdapter. Getting nullpointerexception right now.
Editing PagerAdapter to remove NPE at setUserVisibleHint.