Added pagination for problem list