Replace custom MotionControls by DeviceOrientationControls (@richtr and @WestLangley).
Refactor code.