added ball bounce effect