Fixed bug with carousel going to next image