moved window into graphics