add background animation for sprite