ViewPager replce fragments example based on StackOverflow example by mdelolmo