change pagination theme to foundation