replace checkbox by toggle for direction + cleanup