Made slides slide in rigght order