Okay, so I had a situation where I needed to add some cloned DOM elements to a parent DIV element in a web page.
I had four of these parent DIV holders. When I make
Remove the visibility:visible property from the children. That will fix your problem. You could be using .hide() and .show() (or .toggle()) on the parent instead to set the display to none instead of hidden.