gyro or tilt sensor not properly working