add line support for horizontal top and bottom