Determining the rotation direction in pulsars