For the slide from photo to photo, I got inspiration by those masterview in which you pull a lever and it changes the photo in a circle way. So here, I tried to simulated that movement and instead of a lever, you just use the finger and it doesn't matter if you move up to down or left to right because it's gonna move in that circle way.