jQuery 1.9 toggle function for animate script
<p>I have used this script for a long time, and I'm barely good at jQuery, so when I saw that this was removed from v.1.9x of jQuery, I couldn't locate a fix that made any sense to me (except that adding the migrate plugin fixes it but adds a lot of script). Any help would be appreciated so I can learn how to replicate this behavior. Thanks!</p>

<pre><code>$(document).ready(function () {
$("#switcher-wrapper .toggle").toggle(function () {
    $("#switcher-wrapper").animate({
        left: "-1px"
    });
    $(this).addClass("selected");
    return false;
}, function () {
    $("#switcher-wrapper").animate({
        left: "-242px"
    });
    $(this).removeClass("selected");
    return false;
});
</code></pre>

<p>});</p>

<p>This works in 1.8.3 but does odd stuff in 1.9 jQuery.</p>
