creates loopable animated elements