making draggable cards on the SVG canvas