added nav and pagination element