Auto-scroll repeat images

e.g.: the first scroll images, i want to scroll like

image[0]
image[1]
image[2]
image[3]
image[4]
then auto-loop back to image[0], image[1], image[2]…

infinite looping like marquee, but i still can scroll them manually, the auto-loop scroll will pause when hover the images, and continue loop when leave hover, thanks much!!