resize content when viewport resize