remove unused var from WavelengthSlider