final refinements to hide/show icon script