getting rid of white flash in waveform plot when changing selected dendrogram node