Vertical line detection works now