$a =jQuery('.flexslider');
$a.flexslider({
slideshow: false,
animationLoop: false,
animation: "slide",
smoothHeight: true,
touch:true,
controlNav: false,
directionNav:false,
start: function(slider){
jQuery('.slides li .gift1 a', slider).click(function(event){
event.preventDefault();
slider.flexAnimate(slider.getTarget("next"));
localStorage.setItem('sliderPagination','slider2');
});
},
});