expanded class now overrides max-height