add viewport resize