Added possibilities to run slideshow with zero height, and then expand dom tree when all images are loaded.