picture transition script DONE