fix code to make sure that if we drove down a line backwards we are in the proper orientation
adding code to support items on different orientations