add gravity manager and maintain 300 frames.