change logo and fit feature for resizing window