Updating display object position through accelerometer events