css performance and repaint