Animated fading background-images

I finally managed to get the cross-fading background images to work with CSS and JS. As you may or may not now, the CSS transitions for background-image don’t work in most browsers (just Chrome i guess). With some JS magic i made it happen though! :smiley: Check out the solution, it is rought and there is much space for improvement, so feel free to criticise and/or make the improvements yourself. I’m curious if we can come up with something better here.

http://codepen.io/Kirhchoff/pen/vyQNBm/