edited slides.js for fullscreen