initialize ViewArea in its own method