.gallery-img.pull-left {
    margin-right:15px;
}
.gallery-img.pull-right {
    margin-left:15px;
}