.wl-img-comp-container {
  position: relative;
  height: 300px;
}

.wl-img-comp-img {
  position: absolute;
  width: auto;
  height: auto;
  overflow:hidden;
}
.wl-img-comp-img img {
  display: block;
  vertical-align: middle;
  max-width: inherit;
  height: 300px;
  width: 400px;
}
.wl-img-comp-slider {
  position: absolute;
  z-index: 9;
  cursor: ew-resize;
  width: 40px;
  height: 40px;
  background-color: #2196F3;
  opacity: 0.7;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}