Added a timer that switches images.