added java side accordion switches