fixed issue that prevented details being loaded correctly on orientation change