wait all images loaded before showing slides