added collapse/expand into exmaralda sample