Page loads only partially on navigating between tabs
===

I have a webpage with a few tabs. On switching to a tab, half of the content of the previous tab overlaps with the content on the current tab. On refresh, the page looks fine.

This problem is particularly observed in chrome. Firefox displays fine 95% of times. 

How can such a bug be fixed ? I am working on rails 3 and haml & css. 