restored blue border, added automatic closing when icons are touched or clicked