fixed a bug where the background gradient repeated itself