function sleep(miliseconds) {
var currentTime = new Date().getTime();
while (currentTime + miliseconds >= new Date().getTime()) {
nexstSlide()
}
}
.item {
display: none;
position: relative;
.transition(.3s ease-in-out left);
}