added photo viewer in mastermind