Çevir
bidirectional shift function