css fix for white ghosting lines while animating