Use classes to set expanded/hidden settings