make loopable waving flag animation with logo or text