Moved the offset value in slides.js to css.