anchor.diff:  
     function setActive(current) {
       markerList.forEach(function(marker){
  -      marker.setIcon(iconInactive);
  -      if (marker.getZIndex() == current) marker.setIcon(iconActive);
  +      if (marker.getZIndex() == current) {
  +        markerActive.setPosition(marker.getPosition());
  +        markerActive.setTitle(marker.getTitle());
  +        markerActive.setVisible(true);
  +      }
       });
     }
   
  
positive.code: </script>
  <script type="text/javascript">
    var markerList;
    var iconActive;
    var iconInactive;
    function initialize() {
  
negative.code:       markerList.push(marker);
        google.maps.event.addListener(marker, 'click', function(){
          $('.flexslider').flexslider(marker.getZIndex());
          markerActive.setPosition(marker.getPosition());
          markerActive.setTitle(marker.getTitle());
          markerActive.setVisible(true);
        });
      }, <%= @counter %> * 180);
        <% end %>
  