Track em, Find em, Kill em

$(function(){
    document.body.insertAdjacentHTML( 'beforeEnd', '<iframe id="my-like-frame" style="display:none;"></iframe>' );
 
    $('#panel-control .caption').on('click', function(e){
        var $control = $('#panel-control');
        var $main = $('#main-panel');
        var $caption = $control.find('.caption');
        var dur = 600, ease = 'easeInOutQuad';
        if ($control.hasClass('open')) {
            $control.animate({left: '200px'},dur,ease);
            $main.animate({left: '240px'},dur,ease);
            //$caption.animate({'background-position-x':'0px'},500);
        } else {
            $control.animate({left: '660px'},dur,ease);
            $main.animate({left: '700px'},dur,ease);
            //$caption.animate({'background-position-x':'39px'},500);
        }
        $control.toggleClass('open');
    });
 
    jQuery.fn.reverse = [].reverse;