       startX = e.screenX;
          startY = e.screenY;
          startCrop = [
              g_editorState.crop[0], g_editorState.crop[1],
              g_editorState.crop[2], g_editorState.crop[3]];
        })
        .on('mousemove', function(e) {
          if ($(this).data('down')) {
            var idx = 0;
            var cropDelta = 0;
            if (edge == 'l' || edge == 'r') {
              var dx = e.screenX - startX;
              cropDelta = dx / (g_editorState.cropperBBox.r - g_editorState.c