Hide other panel when clicking