new previous link logic to show rating system