splitter event functions into one for canvas and one for tab / Window changing