Refine drag and pinch in edit view controller