Jump to specific collection ID

I think this is a simple answer, I just don’t know the right question to ask.

Thanks to help from Ahmad I have built a gallery that users can hide items from, however, I need the gallery to return to the first item after the process is complete, otherwise it displays nothing at all.

I can workaround with this:

//      $w("#gallery").items = [{
//          'type': "image",
//          'src': "[image url]"

But this obviously isn’t pulling from the collection. Looking through the gallery reference isn’t giving me any simple answers either. https://www.wix.com/velo/reference/$w/gallery/items

Would appreciate a gentle nudge!

Update:

I have tried referencing an item but using the unique ID doesn’t seem to achieve anything and the number in the collection isn’t fixed, so that doesn’t work either.

I have tried pushing the current record to previous(), which does work, but only until there are none left that match the filter conditions, in which case you’re presented with a blank gallery again.

Still waiting for a hero on this one lol