swapped logic to use expandedView as collapsed is the default to fix
initial incorrect view when accessing http://localhost:8880/health/