Only reset on resize if the height changes
Put the masking back on the images instead of their container