Accelerometer works with three values of x low mid and high.

Function is not applied to background colour