fixes slide transition