Update MiniDoc on resize of main view