The blue square below should twice gradually grow into a wide rectangle before returning to its original size, and there should be no red.
Testing...