hide elements when there is no content to show