Detection from both left and right direction contributes to improved and flexible design of the set mechanism.