edited background-class

the background now stops moving, when it would else end; fixed #5