Changed details page to work without passed through variables

Changed details page to work without passed through variables