a ball that bounces with accelerometer