animate works on load not ready

animate works on load not ready