It may or may not solve your problem. But the layout of the visible/hidden groups sometimes affects how they appear/disappear.
Recently, I have tested it over here: Glitchy collapse animation - #8 by hergin
By just playing with the layout of these, the hide/show experience is way better.
With the column layout of the hidden groups. See how glitchy it looks like:
With the align to parent layout of the hidden groups. It is way smoother:
Simply, the lesson is: play with the layout a little bit
By the way, this example is just showing/hiding between these two groups: