Avere una sidebar alta come la pagina è un compito molto semplice con jQuery.
La soluzione jQuery è la seguente:
var sidebarHeight = ( $( window).height() > $( document).height() ) ? $( window).height() : $( document).height();
$( "#sidebar" ).height( sidebarHeight );