added method for showing pictures randomly in DisplayController