do not scroll left partial

Don’t scroll whole page while scrolling


     <title>Title here</title>
      <div id="navbar" style="position:fixed;"></div>
      <div id="content>
      <div id="leftColumn"></div>
      <div id="centerColumn"></div>
      <div id="rightColumn"></div>    


    $(window).scroll(function () {
        var scrollTop = $(window).scrollTop();
        if (scrollTop > 0)
            $('#leftColumn, #rightColumn').css('margin-top', scrollTop);
            $('#leftColumn, #rightColumn').css('margin-top', scrollTop);

P.S. Use this code if you just want to scroll center of the page Not left not right content just scroll center content of the page.