Fix animation to stacks layout by using zPosition instead of zIndex to set stack order.
Comments, remove 1 workaround on layout change
Use UIGestureRecognizerDelegate to not even receive gestures we won't process