prevent window resize from bugging the cover