implemented gyroscope and orientation sensors