Update max-height of infoPanel