added navigation bar to details view