Update slides.js

adding destroy method to remove added styles and DOM elements