add viewport setting

add viewport
close #11