added line mouseover detection and line deletion