Use JQuery to collapse list items with title and content elements