providing automatic resize functionality to VisItSwtWidget canvas