fix samples/simple-slide.rb

The example in samples/simple-slide.rb do not work corectly, So this is my decision.