Now slides works with directory indexes, instead of dumping all the slides on one page.