remove unused code
Refactored from NivoSlider to Slider.
refactor followup