Hoverline logic extracted

Who knew: one event handler per event name per element in d3...