fixed the bug that breaks the slideshow
Merge pull request #6 from werdewelt/dev

fixed the bug that breaks the slideshow