Updated FragmentManager to reverse fragments