AppController: resize panes after moving a tab [fixes #84975066]