fix width after window resize