Default [Q] Need to render HTML file as a book and retain CSS formatting on Android

So I have a local HTML file with CSS and I need to display this file in the form of a book (scroll left/right to view previous/next content, not up and down).

The only solution that I know how to perform currently is manually splitting the file into dozens of separate .html files and switching between them as the user flips pages. Which I realize is a terrible way to do this.

I think that this is achievable with javascript but I do not know how to implement that as a solution.