.gallery {
    width: 100%;
    text-align: center;
}

.gallery__wrapper {
    overflow-x: auto;
    background-image: -webkit-linear-gradient(left, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0)),
    -webkit-linear-gradient(right, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0)),
    -webkit-linear-gradient(left, rgba(0, 0, 0, .1), rgba(0, 0, 0, 0)),
    -webkit-linear-gradient(right, rgba(0, 0, 0, .1), rgba(0, 0, 0, 0));
    background-image: linear-gradient(to right, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0)),
    linear-gradient(to left, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0)),
    linear-gradient(to right, rgba(0, 0, 0, .1), rgba(0, 0, 0, 0)),
    linear-gradient(to left, rgba(0, 0, 0, .1), rgba(0, 0, 0, 0));
    background-position: 0 0, 100% 0, 0 0, 100% 0;
    background-repeat: no-repeat;
    background-color: #fff;
    background-size: 4em 100%, 4em 100%, 1em 100%, 1em 100%;
    background-attachment: local, local, scroll, scroll; /** Opera doesn't support this in the shorthand */
    -ms-overflow-style: none;
    overflow: -moz-scrollbars-none;
}

.gallery__wrapper::-webkit-scrollbar {
    display: none;
}

.gallery__images {
    margin: auto;
}

.gallery__image {
    display: table-cell;
    vertical-align: middle;
    padding: 0 1em 1em;
}

.gallery__image img{
    min-width: 100px;
}

@media screen and (min-width: 770px) {
    .gallery__images {
        display: table;
        table-layout: fixed;
    }
}