On Desktop or iOS in FileMaker Go?
For the desktop, you can partially scroll the window when the user first enters the layout, but there is no action that really captures scrolling all that well.
on iOS, checkout the OnGestureTap script trigger and the Get(TriggerGestureInfo) function:
It will detect 1,2 and 3 finger taps, and 1 finger double-taps and perform an action (layout switch in your case).
FileMaker has training videos for using it: