Accept if you like, I did a fair amount of testing and it works quite well

1.added "speed" to arguments to allow for fast or slow swiping. This has proven critical for swiping a known amount (1 page at a time)
2.added offset handling for OSX app bar + iOS Simulator window title bar. Tried to 2 very different resolutions and it worked for both
3.added correction for simulator "screen size" vs simulator "window size"
4.added help to make swiping 0..1 inclusive work (0 would be the frame of the simulator window instead of on the simulator "screen")