title: flexslider plugin and knockout issue
body: <p>I have a terrible problem using konckout and flexslider plugin on my application. The flexlider plugin loads the images on the li elements but the li elements have an inline stile with an alpha:0, so the plugin loads correctly but i can't see the images that it have. 
  I try to use the</p>
  
  <pre><code>$('.flexslider').removeData("flexslider");
  </code></pre>
  
  <p>but didn't work.  I try to make a special binding handler but did'nt work:</p>
  
  <pre><code>ko.bindingHandlers.flexslideUI = {
          init: function (element) {
              $(element).flexslider();
          },
          update: function (element) {
              $(element).flexslider('refresh');
          }
      };
  </code></pre>
  
  <p>Here I left some explaining code hoping someone can help me with this trouble:  </p>
  
  <p>// binding handlers and 
      </p>
  
  <pre><code>    //update widgets function
      ko.bindingHandlers.udpateWidgets = {
          init: function (element, valueAccessor, allBindings, viewModel, bindingContext) {
  
              $('.flexslider').flexslider();
  
          },
          update: function (element, valueAccessor) {
  
                $('.flexslider').flexslider();
                  $("a[data-rel^='tooltip']").tooltip();
                  $("a[data-rel^='tooltip']").attr("onclick", "javascript:return false;");
              }
          };
  
      function myViewModel() {
          var self = this;
          self.myArray = ko.observableArray();
  
          self.showRecommended = ko.observable(false);
          self.showSpecial = ko.observable(false);
  
  
          self.sortDirections = ko.observableArray([
          {
              name: "Sort By",
              price: null,
              rate: null
          },
           {
              name: "Price Asc",
              price: false,
              rate: null
          },
          {
              name: "Price Desc",
              price: true,
              rate: null
          },
          {
              name: "Rate Asc",
              price: null,
              rate: false
          },
          {
              name: "Rate Desc",
              price: null,
              rate: true
          }]);
  
          //sorting filtering function
          self.currentSortDirection = ko.observable(self.sortDirections()[0]);
  
          self.elementsToShow = ko.pureComputed(function () {
  
              var recomend = self.showRecommended();
              var special = self.showSpecial();
              var sorting = self.currentSortDirection();
  
              if (!recomend &amp;&amp; !special) return self.myArray().sort(function (a, b) {
  
                  if (sorting.price != null) {
                      var fp = sorting.price ? -1 : 1;
                      ap = parseInt(a.price);
                      bp = parseInt(b.price);
                      return ap == bp ? 0 : (fp * (ap &lt; bp ? -1 : 1));
                  }
                  else if (sorting.rate != null) {
                      var f = sorting.rate ? -1 : 1;
                      ar = parseFloat(a.rating);
                      br = parseFloat(b.rating);
                      return ar == br ? 0 : (f * (ar &lt; br ? -1 : 1));
                  }
              });
  
              return ko.utils.arrayFilter(self.myArray(), function (element) {
                  return (element.recommended != "0" &amp;&amp; recomend) || (element.offer != "" &amp;&amp; special);
              }).sort(function (a, b) {
                  debugger;
                  if (sorting.price != null) {
                      var fs = sorting.price ? -1 : 1;
                      ap = a.price;
                      bp = b.price;
                      return ap == bp ? 0 : (fs * (ap &lt; bp ? -1 : 1));
                  }
                  if (sorting.rating != null) {
                      var fu = sorting.rate ? -1 : 1;
                      ar = a.rating;
                      br = b.rating;
                      return ar == br ? 0 : (fu * (ar &lt; br ? -1 : 1));
                  }
              });
          }, self);
  
  
           self.loadUI = function(){
              $('.flexslider').flexslider();
  
             //reload tooltip and disable onclic event
          $("a[data-rel^='tooltip']").tooltip();
          $("a[data-rel^='tooltip']").attr("onclick", "javascript:return false;")
          }
  
  self.Search = function() {
              $.ajax({
                  type: "POST",
                  url: "mydomain/Find",
                  data: "searchExpressionString:exp",
                  contentType: "application/json; charset=utf-8",
                  cache: false,
  
                  success: function (result) {
                      var response = $.parseJSON(result);
                          self.myArray(response.array);
                          // window.location.search +='&amp;'+searchExp;
  
                      self.loadUI();
                  },
                  error: function(a, desc, error) {
  
                          // window.location.search +='&amp;'+searchExp;
                      }
                     // self.loadUI();
                  },
              });
  
      }
      //end viewModel
      $(function(){
  
          var model = new myViewModel();
          ko.applyBindings(model);
  
      });
  &lt;/script&gt;
  
  &lt;!--  search button, loads content --&gt;
  &lt;button data-bind='click:Search' id="searchbutton"&gt;search&lt;/button&gt;
  &lt;!--sorting elements --&gt;
  &lt;div class="sortbuttons" style="text-align: left;"&gt;
                      &lt;ul&gt;
                          &lt;li&gt;
                              &lt;strong&gt;SHOW ONLY: &lt;/strong&gt;
                          &lt;/li&gt;
                          &lt;li&gt;
                            &lt;label&gt;&lt;input type='checkbox' name="rock" data-bind='checked: showRecommended' /&gt;Recommended&lt;/label&gt;
                          &lt;/li&gt;
                          &lt;li&gt;
                             &lt;label&gt;&lt;input type='checkbox' name="gas" data-bind='checked: showSpecial' /&gt;Special Offer&lt;/label&gt;
                          &lt;/li&gt;
  
                      &lt;/ul&gt;
                  &lt;/div&gt;
  &lt;select data-bind="options: sortDirections, optionsText: 'name', value: currentSortDirection"&gt;&lt;/select&gt;
  
  &lt;!-- part of the page that I bind the slider --&gt;
   &lt;div data-bind='foreach: elementsToShow'&gt;
                  &lt;div class="post-thumb-wrap span5" data-bind="udpateWidgets:true"&gt;
                            &lt;div class="flexslider" id="slider"&gt;
                          &lt;a data-bind="attr: { 'href': $data.pageUrl }" target="_blank"&gt;
                              &lt;ul class="slides" data-bind='foreach: imagePaths'&gt;
                                  &lt;li&gt;
                                      &lt;img data-bind="attr: { 'src': $data.srcImg, 'alt': $data.keywords }" itemprop="image" /&gt;
                                  &lt;/li&gt;
                              &lt;/ul&gt;
                          &lt;/a&gt;
                      &lt;/div&gt;
                      &lt;div class="shortl-btn"&gt;
                          &lt;a class="button button-darkgray" data-bind="attr : {'href': $data.pageUrl}"&gt;
                              &lt;i class="icon-signin"&gt;&lt;/i&gt;More Details
                          &lt;/a&gt;
                      &lt;/div&gt;
                  &lt;/div&gt;
  &lt;/div&gt;
  
  //my array data have this structure, I put it in myArray using $.parseJSON of a response using ajax
  {
              'array': [
              {
              'rating': '5',
  
              'imagePaths':[
              {
              'srcImg': 'fun.jpg',
              'keywords': '1234'
              },
              {
              'srcImg': 'sun.jpg',
              'keywords': '1234'
              },
              {
              'srcImg': 'pape.jpg',
              'keywords': '212'
              }
              ],
              'price': '43',
              'offer': '',
              'recommended': '0',
  
              },
              {
              'rating': '3',
  
              'imagePaths':[
              {
              'srcImg': 'fun.jpg',
              'keywords': '1234'
              },
              {
              'srcImg': 'sun.jpg',
              'keywords': '1234'
              },
              {
              'srcImg': 'pape.jpg',
              'keywords': '212'
              }
              ],
              'price': '143',
              'offer': '12',
              'recommended': '1',
  
              },
              {
              'rating': '2',
  
              'imagePaths':[
              {
              'srcImg': 'fun.jpg',
              'keywords': '1234'
              },
              {
              'srcImg': 'sun.jpg',
              'keywords': '1234'
              },
              {
              'srcImg': 'pape.jpg',
              'keywords': '212'
              }
              ],
              'price': '443',
              'offer': '34',
              'recommended': '0',
  
              },
              {
              'rating': '3.8',
  
              'imagePaths':[
              {
              'srcImg': 'fun.jpg',
              'keywords': '1234'
              },
              {
              'srcImg': 'sun.jpg',
              'keywords': '1234'
              },
              {
              'srcImg': 'pape.jpg',
              'keywords': '212'
              }
              ],
              'price': '843',
              'offer': '23',
              'recommended': '1',
  
              },
              {
              'rating': '4',
  
              'imagePaths':[
              {
              'srcImg': 'fun.jpg',
              'keywords': '1234'
              },
              {
              'srcImg': 'sun.jpg',
              'keywords': '1234'
              },
              {
              'srcImg': 'pape.jpg',
              'keywords': '212'
              }
              ],
              'price': '233',
              'offer': '',
              'recommended': '0',
  
              }
              ]
              }
  </code></pre>