got carousel working correctly