refactor wavelengthSlider to use SpectrumNode