fix small media previews and gaps between thumbs