LIB001-757: Added in max-height 500px if there is enough room