fixed ball oscillation

2D part done!