Add basic animation functionality with markers.