I think you can use the “form show” event (probably on the repeating panel) to fire off a function when page turns occur. Others may know of other ways.
There’s also this if you want to use regular buttons to control pagination (and fire these callbacks instead). Never used them myself, but this seems like another way to have more control when a normal button is clicked: