use height instead of max-height (bug)