Fix: recpgnize first/last page
Fix: behavior of fancy-page-crossing-box when reload