added minHeight & minWidth for dragging nw, ne, sw, se
fixed jshint-error, created dist for minHeight & minWidth