Made the index page display a random 4 x 5 grid of thumbnails that changes every 5 minutes