reorders links in detail view