Q:

How to control two scroll bars simultaneously

I have two div's with horizontal scroll bars.  If I scroll one the other one should also scroll simultaneously. 

A:

Please see this question:
$('.linked').scroll(function(){
    $('.linked').scrollTop($(this).scrollTop());    
})

This is jsfiddle sample.