update slideview.js