Added the ability to empty the array of images before adding new.
This could be helpful to keep the same instance of the slideshow while changing the images source.
Merge pull request #1 from jerrygdm/empty-before-adding-images

Added the ability to empty the array of images before adding new.