Eliminating friction at the nanoscale