prevent window resize from bugging the cover

this fixes and prevents a few problems...