two types of events now, one generating the coloranimation, one moving the rectangle