add prototype of moving bg