added animition to the view transitions