Added custom animation to the change of details view