IMD animation, still needs some tuning.