JQuery jerky animation when show/animate div inside a div

Hi guys,

I have noticed recently that when I have one div positioned inside another for example, a close button inside a container ,and I want to show/hide the div onclick (using JQuery), the close button inside appears but its appearance does not occur smoothly with the parent div.

Does anyone else notice this? I know about dialog() but I wish to accomplish this without it.