improved moving of background