Fixed page index incrementation bug.
Added page callback block.