find the widest element on a page