edited background-class

the background now stops moving, when it would end else