Animate rect

Requesting merge with master.