to hide the title and share button.