fix slideWrapper variable initialisation in _centerCurrentSlide