fn queueAnimation