Spry like slide effect
===

I am not sure if Spry is just smoother than jQuery but I can never get my animations as smooth as http://labs.adobe.com/technologies/spry/samples/effects/slide_sample.html

I perform my animations as follows:

     $("#button").click(function (e) {
        $("#thediv").css('margin-left',$(window).width + 10 + 'px');
        $("#thediv").animate({
           'margin-left' : '0'
       },100);
     });

I have tried playing with the easing, lowering the framerate using a plugin, adjusting the ms.  Does Spry do anything different?  As far as Im aware it manipulates the DOM like jQuery.  What are ideal animation settings to create smooth "slide from left" div transitions.  The web app is for a mobile phone and the div switcing is for switching between views.