changes to populating tab content in accordion