photos loop and preload
refactor photo preload
changing background on image preload
adding css transition to background