Generalize animations into Animation superclass, remove overshoot from flashes by changing to quintic easing