fixed path finding,. reworked touch

-path works fine
-reworked touch_logic, and parameters in the touchanywhereended function