make it ok on mobile platform
perfect gyro js