add smooth transit algorithmfor picking index