Thumbnail index on index page

Add thumbnail index on index left page if it is online PDF. Fix the
bookmark coding miss.