Anyway of assuring showing/hiding animations work consistently?

Having trouble with “flyeffect” using very simple code.

Would appreciate any advice.

First piece of advice is to cancel any standard animations.