Add viewport directives