remove the trailing effect and redraw the background after every change