Avoid using negative margin on thumbnail landscape images

@paulrobertlloyd