Richard's css max-height fix