title: Center flexslider images
body: <p>I was wondering if it is possible to give the flexslider a minimum height (sure it can), but that the images of the slider will overflow by the viewport at both sides, left and right, so the middle of the image will be centered in the middle of the viewport. Like with the trick of margin-left: -width.</p>
  
  <p>I use the basic markup of the flexslider:</p>
  
  <pre><code>&lt;section class="slider"&gt;
              &lt;div class="flexslider"&gt;
                  &lt;ul class="slides"&gt;
                      &lt;li&gt;
                          &lt;img src="images/slide2.jpg" /&gt;
                      &lt;/li&gt;
                      &lt;li&gt;
                          &lt;img src="images/slide2.jpg" /&gt;
                      &lt;/li&gt;
                      &lt;li&gt;
                          &lt;img src="images/slide2.jpg" /&gt;
                      &lt;/li&gt;
                      &lt;li&gt;
                          &lt;img src="images/slide2.jpg" /&gt;
                      &lt;/li&gt;
                  &lt;/ul&gt;
              &lt;/div&gt;
          &lt;/section&gt;
  </code></pre>
  
  <p>Than I added the start and before to the slider plugin:</p>
  
  <pre><code>$('.flexslider').flexslider({
          animation: "slide",
          slideshowSpeed: 5000,
          manualControls: ".custom-controls li",
          directionNav: false,
          useCSS: false, /* Chrome fix*/
          start: function(slider){
              $('body').removeClass('loading');
  
              $('.flexslider').css({
                  position:'absolute',
                  left: ($(window).width() - $('.flexslider').outerWidth())/2,
                  top: ($(window).height() - $('.flexslider').outerHeight())/2
              });
          },
          before: function(slider) {
              $('.flexslider').css({
                  position:'absolute',
                  left: ($(window).width() - $('.flexslider').outerWidth())/2,
                  top: ($(window).height() - $('.flexslider').outerHeight())/2
              });
          }
      });
  </code></pre>
  
  <p>But this is not working for me. I don't think I get the right elements here.. Tried also <code>$('.flexslider .slides li img')</code> but nothing seems to work of these selectors. Only the top property in above code is working.</p>
  
  <p>Thanks in advance.</p>