implemened 'random' showSlide command