added sliderstate.js to main-view (backend)