Sphero accelerometer control