improved styling of states by switching to display: block