an animation extension for background sprite animation in pygame.