paralax effect in javascript with a decor randomly generate in sprite