flag animation work