jQuery click on touch device only works once
<p>I have a drop down list and when I click on it to scroll to a section it stops working, I have to scroll the page to activate it again...any ideas on how I can fix this please?</p>

<pre><code>if( /Android|webOS|iPhone|iPad|iPod|BlackBerry/i.test(navigator.userAgent) ) {
   $('#menu ul li').click(function(){
      var id = "#"+$(this).attr('rel')+"_anchor";
      $('html, body').animate({ scrollTop : $(id).offset().top }, 'slow', 'easeInCubic');
      $(this).slideUp();
   });
});
</code></pre>
