Prevent images from showin underneath each other in the slideshow