Use goto_pos() when moving to matched brackets to make sure the cursor
stays in view.