Add nil check for currentSlide
Merge pull request #2 from SCENEE/fix/currentSlide-nil-check

Add nil check for currentSlide