move afterSlide to setTimeout with duration of animation (#396)
move afterSlide to setTimeout with duration of animation (#396)

* move afterSlide to setTimeout to ensure it is not triggered at the same time as beforeSlide

* check for currentSlide and add timeout param

fixes #376 
closes #396 

kenwheeler/nuka-carousel,kenwheeler/nuka-carousel