handle pad lines where x2 is less than x1