Substituting animations by transitions.