use attrs for max display height