changed the listing page to open the details page