add the 'show first item's image' function, but the code has become a little mess:(