Fixed bug with sequence example as well as slideshow example.