Make loop a bit easier to read; catch when anim.before() returns 'cancel'