Bouncing ball

Hi Everyone,

I got issues regarding my codes. So far, i able to developed bouncing ball and collide with each other. One issues is that whenever it fall on top of each other, it wont stay. Instead it slowly drag down.

So does anyone have the sollution for this?

Thank