Adding animations to sprites