flip animation function using FLIP technique to animate element position changes between DOMRect start/end states with configurable delay, duration, and easing