fix hinting beyond page range
fix page states not updated in scroll mode