Summary: . Is it correct? By the way, the fairly obvious solution of putting the beam below the track and the sensor above helps but doesn't cure the problem since IR light bounces fairly well.
Image Dimensions: 517 x 295
Image originally found here.