A more integrated pagination