make mouse dragging in margins select by lines