In-page slideshow navigation using the browser's back/forward buttons?

Hi!

In vanilla JavaScript, one can facilitate in-page navigation via the browser’s back/forward buttons by combining the ‘Popstate’ event listener with the History API. See: https://developer.mozilla.org/en-US/docs/Web/API/Window/popstate_event

Is there anything similar in Wix so that I can navigate through a slideshow using the browser’s back/forward buttons?

Thank you!