modified quiz images controller to randomize categories