Adding a max-height parameter.