Update slidingview.js