Make frames periodic