create pagination component page