Fix Motion controller bug in HexGL

HTML description:
alpha: the direction the device is facing according to the compass
beta: the angle in degrees the device is tilted front-to-back
gamma: the angle in degrees the device is tilted left-to-right
For Motion control, we need to use the value of gamma