cipher right and left x positions