accelerometer added, seems to operate upside down.