fix movment of slides