changing the x coordinate for text