create animation correctly