Changed animations to use jQuery