resized the slides