Update slide.rb

Added a before_destroy callback that puts the "to be deleted" slide at the end of the slides so when a new slide gets added, the position will be know (i.e., the count of the slides)