Reverting back to original code in positionForPageWithNumber method