moved previous and next char links in details template