change innerWidth and height to outer with