Add basic animation functionality