shrink the border on the svg images, implement delete of events