content update and slider animation optimization