Finally fixed enough bugs for carousel implementation.