hide or show profPanel when it need by click anywhere