adds pagination and topics link