add draw view functions. add default view button