improved animation

added an opacity transition to the animation for a smoother effect
between each image.

think my timeout is causing a bug with the imagesIndex variable to go
back to the previous image, could be a simple case of bad logic