render_pagination now uses url_for_current