diff --git a/examples/animation.html b/examples/animation.html
index bdd3ffaf40..352d8afa9d 100644
--- a/examples/animation.html
+++ b/examples/animation.html
@@ -30,16 +30,20 @@
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/examples/animation.js b/examples/animation.js
index 6b4fed36d5..a76f000dbf 100644
--- a/examples/animation.js
+++ b/examples/animation.js
@@ -39,7 +39,6 @@ var map = new ol.Map({
view: view
});
-
var rotateLeft = document.getElementById('rotate-left');
rotateLeft.addEventListener('click', function() {
var rotateLeft = ol.animation.rotate({