MOD: flapping animation for mode switching.