update pagination for large screens