detect head collisions