Check for left or right on insert direction.