add goTo to view prototype