Fixed accelerometer and tilt(not finished)