added ylock button to draw horizontal lines