Close the panel when touch out of panel