made page link just links and not buttons, only done for page 1