add show and hide to canvasLib and SVGLib