making the slideshow component more userfriendly