activity handles a viewpager with a childfragment.