Update slide.rb

updated deffered constraint on slide position for slideshows