Create linearanimation