I found a web part to show and print PDF docs from SharePoint, and it seems to support the swipe gesture too. The code is for SPFx v1.12. I'm thinking about upgrading to v1.16 first.
What would I need to do? Is it complicated? Here's the link, just for reference --> SPFx PDF web part code.