showing and hiding of polygons