Stitching Dynamic Movement Primitives and Image-based Visual Servo Control