fix slide transition