added pagination for wall messages