This is a bit hard to follow, but look at the white stripe 3D printed gear. (It's in between the CIM and the window motor in the lower right corner of the bot at the start of the video.) The 3D printed gear is attached to a potentiometer and used the gyro to stay pointing the same direction regardless of how the robot is turning.