jQuery hide() show() alignment issue

jQuery hide() show() alignment issue

Hi,

I'm a new person for this forum. I have a big trouble in one of our web production. We have using jQuery for displaying a tree control. Displaying and hiding child nodes by using show() and hide() methods of jQuery. This method has been working in chrome browser. But in Internet explorer compatibility views having big trouble. Hidden child nodes height has not been adjusted with next level parent nodes. So the hidden place showing blank spaces.

Can anyone have any idea how to fix this issue. I have attached the screen shots for reference.

Thanks & Regards
S.Saravanan