viewport size constants; added check for affix offset
Merge branch 'dev' of github.com:etsisk/dna_template into dev