Bugfixing image carousel