moved observable binding to view