Fix for nested .animate() not being triggered