Created a wrapper for FragmentPagerAdapter to allow the infinite viewpager to work with FragmentPagerAdapter of size 1 or higher

Signed-off-by: kongyang80 <kongyang80@gmail.com>