clean up map resize on close of query pane