fixed bug where tapgesturerecognizer is not removed when home button is pushed during close animation.