Changes line direction