handle all movement obstacles