Switching of vertical giant magnetoresistance devices by current through the device