Adding transition easing and delay. Also update encoding