fixed the spectrum lines to move with the dots.