connectionLine wrapping using collision detection