Delete the mouse listener for receive and history tab