Flag filter animation improvement