fix a bug:  slide bar can not move