wrap detail page infobox inside of defer