fix top bin of palettes by duplicating the top bin to handle the edge case for high values
add waveform plot to spectrogram