fix drag up and down