Finished HW6
Made fade transition happen only on displaying photo.