click on icon to view gallery