Change animation type