hide method, slide method, and attr change