Add rotate to test/index.html