made slides move on an interval with progress bar

I should definetly clear the code here and there but I upgraded it a
bit, now the slides move on a set interval and there is a progress bar
that show the time left unit the slides move