You wont be ale to do it in javascript as javascript works only with the current document and an ebook can contain multiple html file.
You basically have to write equivalent versions of the next_page and previous_page functions in python for horizontal scrolling.
|