addeded legend window to show legend in original size