creating new view as callback on creation