This slideshow behaves a bit 'jumpy' during the first cycle, but after that it runs much smoother. Make sure not to change the class names 'mySlides' and 'dot' as they are being used by the java script. If you want to have the images changing faster or slowlier, you can set a different time in the last line of the java script. It is at 3000 now, meaning every 3 seconds.
Download the component.