Create slider transition