fix slide up and down