Step 4, part 2: sliding square animation

Square block bounces left and right.