Added custom animation for the fragments.