fixed slideshow image delete bug