Classic Jquery scroll with Flexslider

Classic Jquery scroll with Flexslider

Hi,
I have a index.php with very menu items. When i click on my menu anchor link, the page scrolls to it's own anchor name attribute and, WITHOUT FLEXSLIDER everythings works fine. With flexslider fullscreen activated i can't scroll down slowly anymore. 

It seems like anchor tags on my menu items are disabled by flexslider. Is there a way to fix it?

In the Flexslider folder I have found slider.css files and at this row:

  1. body, html {margin:0; padding:0;width:100%;height:100%!important; overflow-x: hidden;}
If I remove "height 100%" everytings works fine but i lose my responsive and fullscreen flexslider.

Can You help me?

This is a summary of my homepage:

  1. <html>
  2. <head> 
  3. .......
  4. <!--MYSCROLL-->
  5. <script type="text/javascript">
  6. $(function() {
  7.   $('a[href*="#"]:not([href="#"])').click(function() {
  8.     if (location.pathname.replace(/^\//,'') == this.pathname.replace(/^\//,'') && location.hostname == this.hostname) {
  9.       var target = $(this.hash);
  10.       target = target.length ? target : $('[name=' + this.hash.slice(1) +']');
  11.       if (target.length) {
  12.         $('html, body').animate({
  13.           scrollTop: target.offset().top
  14.         }, 1000);
  15.         return false;
  16.       }
  17.     }
  18.   });
  19. });
  20. </script>
  21. <head>
  22. <body>
  23.       <nav>
  24.             <ul>
  25. <li><a href="/index2.php?s=1#link1">Servizi</a></li>
  26. <li><a href="/index2.php?s=1#link2">Mission</a></li>
  27.             </ul>
  28.       </nav>
  29.       <div> .... FLEXSLIDER FULLSCREEN  </div>
  30. <section> 
  31.       <a href="" name="link1"></a>
  32.       <a href="" name="link2"></a>
  33. </section>
  34. ........ FLEXSLIDER JAVASCRIPT
  35. </body>
  36. </html>
Thank you very much!