add the panel attach to button, similiar as google chrome