fixed issue with kenburns effect always running when using js for animations