Added PhotoViewController code