ADD: support animation though the "loops" and "delay" attributes and "image" and "stack" respectively