Sync position of MiniDoc to main doc