First draft of horizontal seam carving for photos