How can I make a thumbnail slider

How can I make a thumbnail slider