finished the function about double clicking to show all content.