Adds temporary pagination for tables