creates slides in a lazy way #1417
merged