fix slide effect