added gameover condition for body collision