changed height to max-height