Dynamically stopping page turning

If you know that your array length is 30, then if someone swipes on the 30th scene to go to the 31st scene (which would be blank), just instantly transition them back to the 30th scene, or show some animation.

In code, you could get the current scene number (or just map scene names to their actual order), and then create a function loaded 'on scene load' for each scene which does a little check for you.