Increase card delay to 3 seconds
Remove duplicate code by extracting function startSlider()