showing and hiding of polylines