Hide the panel after you click on it