fixed ajax pagination links problem