Dynamic height on modal thumbnail