Stabilize the smooth sequence transitions when reaching the start and end of the sequence.