updated ball bouncing
updated ball bouncing