hide sidebar if click outside