made window toggle fullscreen on double click of ImageWidget.