add graphicsItem Collides detecting function