message: Anchor menu, scroll to question when clicked
diff: @@ -24,6 +24,7 @@ const SubAnchor = (props: SubAnchorProps): JSX.Element => {
  userSelect: 'none',
  padding: grid * 2,
  background: isDragging ? 'lightgreen' : 'transparent',
  + cursor: 'pointer',
  margin: '0 10px 10px 0',
  border: '1px solid grey',
  @@ -47,6 +48,13 @@ const SubAnchor = (props: SubAnchorProps): JSX.Element => {
  }
  };
  + const handleScrollTo = (id: string) => {
  + const element = document.getElementById(id);
  + if (element) {
  + element.scrollIntoView({ behavior: 'smooth', block: 'center', inline: 'nearest' });
  + }
  + };
  +
  const { state } = useContext(TreeContext);
  return (
  @@ -61,6 +69,9 @@ const SubAnchor = (props: SubAnchorProps): JSX.Element => {
  ref={provided.innerRef}
  {...provided.draggableProps}
  style={getItemStyle(snapshot.isDragging, provided.draggableProps.style)}
  + onClick={() => {
  + handleScrollTo(item.linkId);
  + }}
  >
  <div style={{ display: 'flex', alignItems: 'center' }}>
  <span className="anchor-icon" style={{ paddingRight: 10 }}>
  