Animate an element using timers and CSS backgrounds