Adding navigation controller