window resize with header flexible