added slider animation