Dreamworks animation buys classic media