Add DEBUG_ANIMATION switch