I\'m trying to make this carousel work with a recursive function. Let\'s say I have three classes defined on CSS with transitions attached to them (default, onscreen, offscr