add flip anim function.
add flip anim functions.