added code to allow back button to work even if info is missing from the Details page