Moving timeline itself to conditional instead of loop