fixing slides and image size