make sure the data-current-slide attr gets set during init