focus on icon when clicking on a resource