add basic ball collision handling