fix but with browser resizes