Hi!
There's a little error when you have three stacked pages. If you open the menu and navigate to the second one, then open the menu again, the current page will be over the stacking pages :(
You can correct it changing line 201 to:
nextStackPageIdx_2 = current + 2 < pagesTotal ? current + 2 : ((current + 2) % pagesTotal),