add API to show/hide the content view container