balls bounce but accelerometer script error