adds navigation button and pushs and pops view controllers