making ball bounce like it should