lil fix for window resize