Change animation parameters