can't you just group all the display: block; ones and the display: none; ones together, comma delimited?