added a wrapper to allow only one items to be expanded at a time