add left and right drag, has error, need debug