Removing eventListener for hiding controls