changed deck-view.js to add the slide effect for mobile.