recognizer and view removing logic changed