make chart transitions smoother and restore background image to chart