implemented non repeating random pics with transitions