 <p>I could not figure out a proper solution to the timming issue so here is a workaround:</p> <pre><code>function resize(){ $("#id_permissions_from").css("height", 600); $("#id_permissions_from").css("overflow", "scroll"); $("#id_permissions_to").css("height", 600); $("#id_permissions_to").css("overflow", "scroll"); } $(function() { setTimeout(function() { resize() }, 1000); //resize(); }) </code></pre>