fix for transition issue that caused gestures to fail