replaced transition with direct animation