Add new slide
Recognize horizontal and vertical lines