Help with motion activated servo please.

When it detects a movement (each time something passes the sensor).

The thing is a sensor reports movement by setting the pin LOW. If you detect when the pin CHANGES to LOW, rather than IS LOW, you'll stop the servo from moving more than once.

Look at the state change detection example.