Add multi window functionnality