optimize animation of dreamshow, and merge js of dreamshow and dreamshow-class