title: jquery datatables scroll to top when pages clicked from bottom
body: <p>I am using a jQuery datatable with bottom pagination. When the pages are clicked from bottom , I want it to scroll it to top, so users do not have to manually do that for longer pages. I tried using dataTables_scrollBody, but it doesn't work properly</p>
  
  <p>Here is my code:</p>
  
  <pre class="lang-js prettyprint-override"><code>oTable = $('#tTable').dataTable({
      "fnDrawCallback": function(o) {
          $('dataTables_scrollBody').scrollTop(0);
       }
  });
  </code></pre>
  
  <p>The page scrolls to top only when you click first/last (which I think is default behaviour), but not with every page click. </p>