set captionview's frame to zero when caption is empty