adding navigation to details page