fav detail display function added and fav pagnition fixed