Exposing Id attribute for hidden bubble elements

Hey Bubblers! I have a nested Repeating group here of lessons that I want to progress into the next repeating group automatically. I tried to assign an ID for each RG and use javascript but the repeating groups don’t have an ID until they are visible.

Does anyone know a good way to trigger the automatic showing for the next lesson? I cannot use set state because I am relying on Bubble’s native animate group function.

Thanks in advance!
Jordan