title: Swiper JS Slides not Sliding all the way the left
body: <p>I'm having a little trouble with my Swiper JS slider. I would like the slides to start at the left and slide all the way to the left on each click. Right now the last slide just comes into view but doesn't end at the left of the container. Anyone know if that's possible and what settings I would use to achieve that?</p>
  <p>I have tried setting loop:true but this centres my first slide and displays a partial at the left that I don't want at the beginning.</p>
  <p>My JS:</p>
  <pre><code>const swiper = new Swiper('.swiper-container', {
  
    initialSlide: 0,
    slidesPerView: 1.8,
    centeredSlides: false,
  
    // Navigation arrows
    navigation: {
      nextEl: '.swiper-button-next',
      prevEl: '.swiper-button-prev',
    },
  
  });
  </code></pre>
  <p>My CSS</p>
  <pre><code> .swiper-container {
                          width: 100%;
                          height: 100%;
                          min-height: 500px;
                        }
  
                        .swiper-slide {
                          text-align: center;
                          font-size: 18px;
  
                          /* Center slide text vertically */
                          display: -webkit-box;
                          display: -ms-flexbox;
                          display: -webkit-flex;
                          display: flex;
                          -webkit-box-pack: center;
                          -ms-flex-pack: center;
                          -webkit-justify-content: center;
                          justify-content: center;
                          -webkit-box-align: center;
                          -ms-flex-align: center;
                          -webkit-align-items: center;
                          align-items: center;
                        }
  
                        .swiper-slide img {
                          display: block;
                          width: 100%;
                          height: 100%;
                          object-fit: cover;
                        }
  
                        .swiper-slide {
                          width: 40%;
                          flex-shrink: 0;
                          /*padding-right: 10%;*/
                        }
  
                        .swiper-slide article {
                          border: solid 1px red;
                          width: 100%;
                          height: 100%;
                          margin-right: 10%;
                        }
  </code></pre>
  <p>I am more or less trying to achieve the same effect as the first slider on this site:<a href="https://iti.ca/en/" rel="noreferrer">https://iti.ca/en/</a></p>
  <p>Slider in Start Position:
  <a href="https://i.stack.imgur.com/zGxmK.png" rel="noreferrer"><img src="https://i.stack.imgur.com/zGxmK.png" alt="View of Slider before clicking navigation" /></a></p>
  <p>Slider after clicking navigation arrow. (there are only two slides but slide 2 does not move to the far left)</p>
  <p><a href="https://i.stack.imgur.com/KhoMM.png" rel="noreferrer"><img src="https://i.stack.imgur.com/KhoMM.png" alt="View of slider after clicking navigation" /></a></p>
  <p>Thank you!</p>