use segue for view switch.