The APDS9960 is rotated 90 degrees on the CLUE, therefore the gestures are off by 90 degrees. Add the ability to compensate for sensor rotation by including gesture rotation. The other capabilities of the sensor are not affected by rotation.