implemented the random slides for misc.html