Make getCurrentIndex work, and if removing the slide the user is on, move the user to the previous slide
Merge pull request #4 from ssagers/master

Bugfixes