Add mandelbrot example, update dragging event