Fix bug: using 1 and 2 for left and right items instead of -1 and 1