working on smoothing for accel display