@Override
  public void surfaceChanged(SurfaceHolder holder, int format, int width, int height) {
    mHandler.removeCallbacks(mDrawFrames);
    mWidth = width;
    mHeight = height;
    mbgIn = null;
    calculatedItemSpacing(credits, mHeight);

    mThread.alive = false;
    while (mThread.isAlive()) {
      try {
        Thread.sleep(5);
      } catch (InterruptedException e) {
        e.printStackTrace();
      }
    }
    mThread = new CreditsThread();
    mThread.start();
  }
 @Override
 public void surfaceCreated(SurfaceHolder holder) {
   mThread = new CreditsThread();
   mThread.start();
 }