Strange sizing of body

Hi all,
I’m trying to implement a swipe-to-change-page feature; yet, when I swipe to the left, the app scrolls a bit to the left, even though I have scrolling set to false; it seems like it’s the native scrolling in the webview; but the thing is is that, even when I set the body’s max-width to 100% and overflow to hidden and make sure no elements are extending beyond, it still scrolls, and from the positioning of the scrollbar, it looks like the body is twice as big as it should be.

The following screenshot is after I swiped and changed the page; as you can see, it scrolled a little, but there are no actual elements there. Even the header ends there.

Any tips for me to fix this?

Cheers