Hiding and showing groups are not seamlessly transitioning

I’ve grouped several layers into a menu. When I want to show one group and hide another, the screen ‘blinks’ during the toggle. Is there a way to fix this?

Creating a straight line with custom LeftToRight effect

Adjusting a customer motion path with shortcut keys

Captivate 2017 Custom motion path

Customize motion path Captivate 2017