find vert and horiz lines