Close notifications panel when marking all as read