Add a timeout for hiding the side menu to allow click events to happen on it.