fix #129 Do not expand log box when there is no content to show