Updated the on event handler for top rating based navigation links