working accelerometer display