tidy up some code and set title to main list of popular items