updated the way images load

and the slideshow loads