created ImageWidgetWrapper to evade degrading of image quality when resizing