fix interval not clearing when using css3 transitions